luci-theme-bootstrap: fix header width
authorJo-Philipp Wich <[email protected]>
Mon, 25 Oct 2021 17:39:08 +0000 (19:39 +0200)
committerJo-Philipp Wich <[email protected]>
Mon, 25 Oct 2021 17:40:06 +0000 (19:40 +0200)
Fixes: 588e24f9ca ("luci-theme-bootstrap: various tweaks and cleanups")
Ref: https://github.com/openwrt/luci/commit/588e24f9ca68de074c4d085ec99fd8c96ad0a3ed#r58625289
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit 8fc78a26da9ee95b2479213083efa750173291d2)

themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index 344364ae05b2d7daec4b5dd1dc74f3fd26258eef..c98eb84e0b4412465038f62bd42270181f70ce70 100644 (file)
@@ -863,7 +863,7 @@ header {
        background-repeat: repeat-x;
        background-image: linear-gradient(to bottom, #333333, #222222);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
-       padding: 0 5px;
+       padding: 0 calc((100% - 940px) / 2 + 5px);
 }
 
 .nav {